package com.gocom.imoss.common.Exception;

public class GoComException  extends RuntimeException {

	/**
	 * @Description: 
	 */
	private static final long serialVersionUID = -3779259041627363056L;
	//private static org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(GoComException.class);
	//{"errcode": 0x48001, "errmsg": "need authorized"}
	private String errcode;
	private String errmsg;
	private String errString="";
	public GoComException(String errString){
		this.setErrString(errString);
	}
	public GoComException(String errcode, String errmsg){
		this.errcode=errcode;
		this.errmsg=errmsg;
	}
	public String getErrcode() {
		return errcode;
	}
	public void setErrcode(String errcode) {
		this.errcode = errcode;
	}
	public String getErrmsg() {
		return errmsg;
	}
	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}
	public String getErrString() {
		return errString;
	}
	public void setErrString(String errString) {
		this.errString = errString;
	}
}
